package com.quick.develop.flowable.domain.entrust;

import com.quick.develop.flowable.domain.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;

/**
 * @author junyuan.liu
 * @description:
 * @date 2022/9/4 14:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BpmEntrustExPageReqVO extends PageParam {
    private static final long serialVersionUID = 7403434203147537474L;

    @ApiModelProperty(value = "流程定义名称")
    private String modelName;
    
    @ApiModelProperty(value = "流程定义名称")
    private String modelKey;

    @ApiModelProperty(value = "开始的委托开始时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginStartDate;

    @ApiModelProperty(value = "结束的委托开始时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endStartDate;
    
    @ApiModelProperty(value = "开始的委托结束时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginEndDate;

    @ApiModelProperty(value = "结束的委托结束时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endEndDate;
    
}
